﻿using System;
using System.Collections.Generic;
using DCS.AdministrationClient.DCS_Service;
using DCS.AdministrationClient.Forms;

namespace DCS.AdministrationClient
{
    public class ApplicationContext
    {
        private readonly List<LogRecord> log = new List<LogRecord>(10);
        public string Url { get; set; }
        public DcsService DcsService { get; set; }

        public Guid Id { get; private set; }

        public List<LogRecord> Log
        {
            get { return log; }
        }

        public void StartSession()
        {
            Id = DcsService.StartAdminSession();
        }
    }
}